package com.corewillsoft.fireflies.gamelaws;

import com.corewillsoft.fireflies.gameobjects.GameObject;

/**
 * @author Kof
 * Date: 25.11.12
 * Time: 21:19
 */

/**
 * UpdateLaw just updates the state of game object
 */
public class UpdateLaw extends BaseLaw {
    @Override
    public LawType getType() {
        return LawType.UPDATE;
    }

    @Override
    public void applicate(GameObject gameObject) {
        gameObject.updateState();
    }
}
